package ioc.config.imports;

import ioc.bean.People;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @Import 快速给容器中导入一个组件，id默认是组件的全类名；
 * ImportSelector:返回需要导入的组件的全类名数组；
 * ImportBeanDefinitionRegistrar:手动注册bean到容器中；
 */
@Configuration
@Import({People.class, MyImportSelector.class, MyImportBeanDefinitionRegistrar.class})
public class ImportsConfig {
}